package com.woniuxy.springboot01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author author
 * @Create 2023-09-07 16:00
 * pojo,bean,entity  VO DTO
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Stu {
    private Integer sid;
    private String sname;
    private Integer sage;
    //一个学生选修多门课程
    private List<Course> courses;
}
